Skip to content

system/nxdiag: Change the order to generate the sysinfo.h file#2880

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
tmedicci:bugfix/nxdiag_build
Dec 6, 2024
Merged

system/nxdiag: Change the order to generate the sysinfo.h file#2880
xiaoxiang781216 merged 1 commit into
apache:masterfrom
tmedicci:bugfix/nxdiag_build

Conversation

@tmedicci

@tmedicci tmedicci commented Dec 6, 2024

Copy link
Copy Markdown
Contributor

Summary

  • system/nxdiag: Change the order for generating the sysinfo.h file

The generation of sys info.h depends on evaluating whether Espressif's HAL exists in the arch folder. However, cloning the HAL itself happens in the context phase of the build, so it is necessary to wait for it to finish before proceeding to the evaluation in nxdiag. This is done by using the depend phase to generate the sysinfo.h file.

Impact

Closes apache/nuttx#15063

Testing

Internal CI testing + NuttX CI

The generation of `sys info.h` depends on evaluating whether
Espressif's HAL exists in the arch folder. However, cloning the HAL
itself happens in the `context` phase of the build, so it is
necessary to wait for it to finish before proceeding to the
evaluation in nxdiag. This is done by using the `depend` phase to
generate the `sysinfo.h` file.
@xiaoxiang781216 xiaoxiang781216 merged commit 9d7714f into apache:master Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] <fatal: could not read Username for 'https://github.com': No such device or address>

2 participants